package com.example.design.factory.version6.exercise02;

public class RootTestDemo {
    public static void main(String[] args) throws ClassNotFoundException {
        Root root=new AiRoot();
        Root root1=new AiRooter();

        System.out.println("=========================");
        Root root2= (Root) Factory.forNmae(BeanPropertiesUtils.getClassname(Const.ROOT));
    }
}
